﻿using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using ePlanet.ArchiveMange.Models;
using DreamBuilder.Common;
using ePlanet.ArchiveMange.DataAccess;

namespace ePlanet.ArchiveMange.Services
{
    public interface IRealKindArchiveService : IBusiness, IArchiveBase
    {

        /// <summary>
        /// 获取全部的文书类卷信息
        /// </summary>
        /// <returns></returns>
         ArchiveMangeModal.REALKIND_ARCHIVEDataTable GetAllDocumenArchivetData();
      
        /// <summary>
        /// 根据主键查询数据
        /// </summary>
        /// <param name="typeId"></param>
        /// <returns></returns>
         ArchiveMangeModal.REALKIND_ARCHIVEDataTable GetAllDocumenArchivetDataById(string DATAID);

        /// <summary>
        /// 备注：根据DATAID列表取对应档案的详细信息
        /// 时间：2013年1月9日 23:47:41
        /// </summary>
        /// <param name="idList"></param>
        /// <returns></returns>
         DataTable GetRealKindArchiveDataByIds(IEnumerable<string> idList);

         DataTable GetHandoverDataByIds(IEnumerable<string> idList);

         DataTable GetArchiveDateSpanByIds(IEnumerable<string> idList);

         DataTable GetDataIdByArchiveCodeRange(string startCode, string endCode);

         /// <summary>
         /// 根据档案类型查询数据
         /// </summary>
         /// <param name="typeId"></param>
         /// <returns></returns>
         ArchiveMangeModal.REALKIND_ARCHIVEDataTable GetArchiveByType(string archiveType);
    }
}
